Skip to content

GPU Test Runner and Related Fixes - #9112

Open
ericspod wants to merge 63 commits into
Project-MONAI:devfrom
ericspod:gpu_runner
Open

ericspod wants to merge 63 commits into
Project-MONAI:devfrom
ericspod:gpu_runner

Conversation

@ericspod

@ericspod ericspod commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Description

This adds a testing runner for the KCL GPU runner available to MONAI. The goal is to develop a GPU testing process, either as a per-PR test or nightly GPU tests.

Some tests for Auto3DSeg are disabled due to issues with the templates it relies on in research-contributions. These need to be fixed and the hash value stored in core needs to be updated. See Project-MONAI/research-contributions#433.

SENet had a number of issues that needed resolving now which were masked for a long time. The URLs for the pre-trained weights in the module were to a dead site so these have been replaced with Huggingface stored files. The failures for these tests were not obvious for a long time because the skip_if_downloading_fails decorator was being used so just silently skipped them. A test comparing results of these weights against those loaded from the pretrainedmodels package failed with a inf difference between results, this relies on this package which has never been a dependency and so has never been installed in the CI environments. The package hasn't been updated since 2018 so this test has likely been broken for a long time. It has been removed here as I don't feel this was a useful thing to be testing given the abandoned nature of the package.

The NGC environment variables are commented out because the test is failing with "RuntimeError: NGC API response is not ok. Failed to get token.".

Hyena tests are added as well, these may not succeed as the environment is different from what's in the Hyena action (that isn't run currently).

Tests for nvimgcodec optional dependency have been updated. There was stated dependencies for pylibjpeg, pylibjpeg-openjpeg, pyjpegls, and python-gdcm on one of the tests, however with the @SkipIfNoModule lines commented out the test still pass. These are left commented out for now.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

5 participants